}

Warning: react-modal: App element is not defined.

Created:

The problem

After the upgrade react-modal, you can get the warning:

Warning: react-modal: App element is not defined. Please use Modal.setAppElement(el) or set appElement={el}. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting ariaHideApp={false}. eval(ez_write_tag([[728,90],'tutorials_technology-medrectangle-3','ezslot_1',114,'0','0'])); Solution ========

When using the modal use ariaHideApp={false}, this will configure the model to not use the app.